package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class JvInfoRequest {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("企业Id")
    @NotBlank(message = "企业姓名不能为空")
    private String spId;

    @ApiModelProperty("企业名称")
    private String name;

    @ApiModelProperty("区域编号")
    @NotEmpty(message = "企业所属区域不能为空")
    private String area;

    @ApiModelProperty("说明")
    @Size(max = 200)
    private String introduction;

    @ApiModelProperty("页号")
    private Integer page;
    @ApiModelProperty("页大小")
    private Integer pageSize = 30;

    @ApiModelProperty(value = "工商业燃气用户数")
    private Integer userNums;

    @ApiModelProperty(value = "民用燃气用户数")
    private Integer civilUserNums;

}
